#ifndef _MUTEX_H_
#define _MUTEX_H_

#include "types.h"

namespace reldt {

class Mutex
{
public:
	Mutex();
	~Mutex();
	void lock();
	bool trylock();
	void unlock();

private:

    pthread_mutex_t m;
};

}
#endif //_MUTEX_H_